/* -*- mode: c++ -*-
** if.h
** 
** Made by Kjetil Svarstad
**
** All interfaces collected here
*/

#ifndef   	IF_H_
# define   	IF_H_

// Interface for Button
class buttonIf: public sc_interface 
{
public:
	virtual void switchLight(bool b) = 0;
};

// Interface for Control
class controlIf: public sc_interface
{
	public:
	virtual void buttonPushed(int buttonNumber) = 0;
};

// Proxy-interface for Bus to Button
class buttonBusIf: public sc_interface
{
// Function that converts a signal from a button into a buttonNumber
// that is sent to ctrl.
public:
virtual void buttonPushed(int buttonNumber) = 0;
};


class controlBusIf: public sc_interface
{
	public:
	virtual void switchLight(bool b) = 0;
};



#endif 	    /* !IF_H_ */
